<?php

namespace vv\model;

use think\Model;
use think\model\relation\HasOne;

class Shop extends Model
{
    protected $table = 'fa_wanlshop_shop';

    public function config(): HasOne
    {
        return $this->hasOne(ShopConfig::class, 'shop_id', 'id');
    }
}